package com.adcc.swingui.demo.statusbar;

import java.awt.Container;

import javax.swing.JComponent;
import javax.swing.JLabel;

import com.adcc.swingui.base.DefaultStatusBar;
import com.jidesoft.status.LabelStatusBarItem;
/**
 * 飞机信息状态条
 * 定时统计地图中显示飞机和隐藏飞机数（以后可以通过获取属性判断飞机类型ADS-B/ACARS）
 * @author charlie
 *
 */
public class FlightInfoStatusBut extends DefaultStatusBar {
	
	LabelStatusBarItem labFi;
	public FlightInfoStatusBut(Container container) {
		super(container);
	}

	@Override
	protected JComponent build() {
		labFi = new LabelStatusBarItem();
        labFi.setText("飞机总数:2389/显示飞机:1011");
        labFi.setAlignment(JLabel.LEFT);
        return labFi;
	}

	@Override
	protected void i18n() {
		// TODO Auto-generated method stub
		
	}

}
